<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="content-type" content="text/html; charset=UTF-8">
	<title>{$user.truename}的个人主页|中国互联网协会第{$num}届全国大学生网络创新应用大赛</title>
	<meta name="description" content="彰显网络商务价值 实现创新职业梦想">
	<meta name="keywords" content="互联网,大学生,大赛,电子商务,创业,就业,实践,有奖活动,网络商务,实践,海峡两岸,大学生竞赛,实践教学,高新民,校企合作">
	<link href="__CSS__/common.css" rel="stylesheet" type="text/css">
	<link href="__CSS__/Version4Master.css" rel="stylesheet" type="text/css">
    <link rel="stylesheet" rev="stylesheet" type="text/css" href="__CSS__/homepage.css">
    <link href="__CSS__/thickbox.css" rel="stylesheet" type="text/css">
    <script src="__JS__/ga.js" async="" type="text/javascript"></script>
	<script src="__JS__/jquery-1.8.2.js" type="text/javascript"></script>
    <script src="__JS__/thickbox.js" type="text/javascript"></script>
</head>
<body>
    <div id="container">
		<!-- ---header部分-- start ---- -->
		<include file="./Match/Tpl/Include/header.html" />
		<!-- ---header部分--  end  ---- -->
        <div class="clear"></div>    
		<div id="sidebar">
			<volist name="user" id="vo">
			<div class="sidebar1">
				<h3>个人资料</h3>
				<p style="width: 218px; overflow: hidden; padding: 10px 29px 0px 29px;">
					<img src="__UPFILE__/Img/Avatar/{$vo.Avatar|default='default.gif'}" onerror="nofind();" style="border: 1px solid rgb(51, 106, 250);" alt="{$vo.TrueName}" width="140" height="140" />
				</p>
				<p style="font-weight: 600; line-height: 30px; color: #0066FF;" align="center">
					<span id="ctl00_ContentPlaceHolder1_lbTrueName">{$vo.TrueName}</span>
				</p>
				<p style="text-align: center; padding-bottom: 15px; border-bottom: 1px solid #b7e4f7;width: 95%; margin: 0 auto;">
					<if condition=" $usertype eq 1 ">
					<a href="__URL__/editAvatar/id/{$id}" style="color: rgb(0, 153, 255);">上传头像</a>
					</if>
				</p>			
				<dl id="ctl00_ContentPlaceHolder1_dlinstructor" class="list">
					<dd>
						<b>公司名称：</b>
						<span id="ctl00_ContentPlaceHolder1_lbenterprise">{$vo.OrgName}</span>
					</dd>
					<dd>
						<b>部门名称：</b>
						<span id="ctl00_ContentPlaceHolder1_lbdepartment">{$vo.DepartmentName}</span>
					</dd>
					<dd>
						<b>职称:</b>
						<span id="ctl00_ContentPlaceHolder1_lbjob1">{$vo.Title}</span>
					</dd>
					<dd>
						<b>最后登录时间：</b>
						<span id="ctl00_ContentPlaceHolder1_lbLastLoginTime2">{$vo.LastLoginDate}</span>
					</dd>
				</dl>
			</div>
			
			
			<if condition=" $usertype eq 1 ">
				<div id="ctl00_ContentPlaceHolder1_control" class="sidebar2">
					<h3>控制面板</h3>
					<div class="list1">
						<ul>
							<li style="width: 100px; text-align: center;">
								<a href="{:U('Officer/Home/editBaseInfo')}">编辑个人信息</a>
							</li>
							<li style="width: 100px; text-align: center;">
								<a href="{:U('Officer/Home/editPassword')}">修改用户密码</a>
							</li>
							<li id="ctl00_ContentPlaceHolder1_Resources" style="width: 100px; text-align: center;">
								<a href="__APP__/Public/Resources/AddResources">添加学习资源</a> 
							</li>		
							<li id="ctl00_ContentPlaceHolder1_addproblem" style="width: 100px; text-align: center;">
								<a href="{:U('Officer/Home/AddBusinessProblems')}">添加竞赛项目</a> 
							</li>
							<li style="width: 100px; text-align: center;">
								<a href="{:U('Public/Mail/index')}">查看站内消息</a>
							</li>
							<li style="width: 100px; text-align: center;">
								<a href="{:U('Officer/Home/addBlog')}">发表博文</a> 
							</li>
							<li id="ctl00_ContentPlaceHolder1_resumeview" style="width: 100px; text-align: center;">
								<a href="###">参看简历</a> 
							</li>
							<if condition="$vo.IsJury eq 1">
								<li style="width: 100px; text-align: center;"><a href="__APP__/Public/Project/juryTeams">我要评分</a>
							</if>	
						</ul>
					</div>
				</div>	
			</if>
			
			<if condition=" $usertype eq 2 ">
			<include file="./Match/Tpl/Include/openwindow.html" />
			<div class="sidebar2">
				<h3>联系方式</h3>
				<div class="list1">
				<ul>
					<li style="width: 100px; text-align: center;">
						<a href="###"  openwindow="Public/Mail/smail/id/{$uid}"  title="发站内信" style="width: 105px; height: 25px; margin-left: 20px; font-size: 14px;">发站内信</a>
					</li>
					<li style="width: 100px; text-align: center;">
						<span id="ctl00_ContentPlaceHolder1_lbqq">
							<a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin={$QQ}&site=qq&menu=yes"><img border="0" src="http://wpa.qq.com/pa?p=2:{$user.QQ}:41" alt="点击这里给我发消息" title="点击这里给我发消息"></a>
						</span>
					</li>
				</ul>
				</div>
			</div>
			</if>
			
			<if condition=" $usertype eq 3 ">

			</if>
			
		</volist>
			
		</div>
		<div id="content">
			<h3>
				<span num="0" style="cursor:pointer">我的点评</span> 
				<span num="1" style="cursor:pointer">我的博文</span>
				<span num="2" style="cursor:pointer">学习资源</span>
			</h3>
			<div class="ajaxload"></div>
			<!-- <div class="yahoo2">
				<span id="ctl00_ContentPlaceHolder1_Pager1">
					<a>{$page}</a>
				</span>
			</div> -->
		</div>
		<div id="sidebarR">	
		<if condition=" $usertype eq 1 ">
		{:W('Hascreate')}
		</if>
		</div>
		<div class="clear">
		</div>
        <div class="clear">
        </div>
		<!-- ---footer部分-- start ---- -->
		<include file="./Match/Tpl/Include/footer.html" />
		<!-- ---footer部分--  end  ---- -->
    </div>
</body>
</html>
<script type="text/javascript">
	$(function(){
		$('.ajaxload').load("__URL__/a0/id/{$uid}/page/1/type/0");
		$("span[num]").click(function(){
			var num=$(this).attr("num");
			$('.ajaxload').load("__URL__/a0/id/{$uid}/page/1/type/"+num);
		});
	});
</script>